package com.dkd.sbtz.domain.plando;

import lombok.Data;

import java.util.List;

@Data
public class MtPlanDetailVO {
    private Long id;
    private Long assetId;
    private String title;
    private String planDate;       // "YYYY-MM-DD"
    private String planContent;
    private Integer needSpare;
    private String status;
    private List<PlanSpareItem> spares; // [{ spareId, qty, spareName }]

    @Data
    public static class PlanSpareItem {
        private Long spareId;
        private Integer qty;
        private String spareName;    // 便于前端显示（可选）
    }
}
